package com.info.zhiduoduo.repository.entity.company;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 *  企业委托函
 * </p>
 *
 * @author Bob
 * @since 2021-11-04
 */
@Data
@Accessors(chain = true)
@TableName("zdd_company_entrust_file_notification")
public class CompanyEntrustFileNotification extends Model<CompanyEntrustFileNotification> {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/**
	 * 企业id
	 */
	private Integer compid;
	/**
	 * 企业名称
	 */
	@TableField(exist = false)
	private String compname;
	/**
	 * 1: 代办 2: 已完成
	 */
	private Integer state;
	private Date createtime;
	private Date updatetime;

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
